package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PackageAssets对象", description="")
public class PackageAssets implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "抽盒内小盒子数量")
    private Integer skuTotal;

    @ApiModelProperty(value = "当前归属用户id")
    private Integer userId;

    @ApiModelProperty(value = "支付订单id")
    private Integer payOrderId;

    @ApiModelProperty(value = "状态 0为未开盒 1为已开盒 2已转赠")
    private Integer status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "活动人民币价格")
    private Integer nodeMoneyPrice;

    @ApiModelProperty(value = "活动积分价格")
    private Integer nodeScorePrice;

    @ApiModelProperty(value = "房间id、仅部分活动有，如一番赏")
    private Integer roomId;

    @ApiModelProperty(value = "活动id，盲盒id、一番赏id、抽奖id、扭蛋机id")
    private Integer activityId;

    @ApiModelProperty(value = "对应活动类型, seckill groupon 等")
    private String activityType;

    @ApiModelProperty(value = "活动uuid")
    private String activityUuid;

    @ApiModelProperty(value = "活动id，盲盒id、一番赏id、抽奖id、扭蛋机id")
    private Integer nodeId;

    @ApiModelProperty(value = "对应实体类型,  product box yifanshang lottery egg_lottery")
    private String nodeType;

    @ApiModelProperty(value = "活动uuid")
    private String nodeUuid;

    @ApiModelProperty(value = "1为正常抽奖获得  2为转售获得")
    private Integer sourceType;

    @ApiModelProperty(value = "活动赠送")
    private String reward;


}
